﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleServiceBus.Bus.Subscriptions
{
    public class NullSubscriptionRepository : ISubscriptionRepository
    {
        public IList<StoredSubscription> GetAllSubscriptions()
        {
            return new List<StoredSubscription>();   
        }

        public void AddSubscription(Type messageType, string subscriber)
        {
            Console.WriteLine("Subscription added for type " + messageType.Name + " for " + subscriber);
        }

        public void RemoveSubscription(Type messageType, string subscriber)
        {
        }

        public void RemoveAllSubscriptionsForSubscriber(string subscriber)
        {
        }
    }
}
